package com.uoss.applications.modules.foundation.entities;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the TC_AGENCY database table.
 * 
 */
@Entity
@Table(name="TC_AGENCY")
public class TcAgency extends org.uoss.applications.framework.entity.GeneralObject implements Serializable {
	private static final long serialVersionUID = 1L;
	private String agencyCode;
	private String agencyName;
	private String comments;
	private Date recDate;
	private String status;
	private Date updatedDate;

    public TcAgency() {
    }


	@Id
	@Column(name="AGENCY_CODE", unique=true, nullable=false, length=16)
	public String getAgencyCode() {
		return this.agencyCode;
	}

	public void setAgencyCode(String agencyCode) {
		this.agencyCode = agencyCode;
	}


	@Column(name="AGENCY_NAME", nullable=false, length=32)
	public String getAgencyName() {
		return this.agencyName;
	}

	public void setAgencyName(String agencyName) {
		this.agencyName = agencyName;
	}


	@Column(length=256)
	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="REC_DATE")
	public Date getRecDate() {
		return this.recDate;
	}

	public void setRecDate(Date recDate) {
		this.recDate = recDate;
	}


	@Column(nullable=false, length=1)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="UPDATED_DATE")
	public Date getUpdatedDate() {
		return this.updatedDate;
	}

	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}

}